public class Test {
    public static void main(String[] args) {
        Solution s=new Solution();
        int [] arr=new int[]{3,2,1};
        String tmp= "adc";
        char [] str=tmp.toCharArray();
        s.lengthOfLongestSubstring("pwwkew");
        s.getLeastNumbers(arr,2);
        s.majorityElement(arr);
        System.out.println("aaaa");
    }
}
